package com.sjr.easy.chat.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

@Data
@ApiModel("")
public class Conversation {

    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("第一个会话用户ID")
    private Long uid1;

    @ApiModelProperty("第2个会话用户ID")
    private Long uid2;

    @ApiModelProperty("聊天群ID")
    private Long chatGroupId;

    @ApiModelProperty("会话类型 1、一对一普通会话 2、群聊会话")
    private Integer type;

    @ApiModelProperty("创建时间")
    private Date createTime;

}